Previously, the build-time tests would only pass if the g-i bindings to
OSTree were already installed, with a reasonably similar version.
Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #232
Approved by: cgwalters
TESTS_ENVIRONMENT += OT_TESTS_DEBUG=1 \
SRCDIR=$$(cd $(top_srcdir) && pwd) \
BUILDDIR=$$(cd $(top_builddir) && pwd) \
- PATH=$$(cd $(top_builddir) && pwd):$${PATH}
+ GI_TYPELIB_PATH=$$(cd $(top_builddir) && pwd) \
+ LD_LIBRARY_PATH=$$(cd $(top_builddir)/.libs && pwd) \
+ PATH=$$(cd $(top_builddir) && pwd):$${PATH} \
+ $(NULL)
uninstalled_test_scripts = tests/test-abi.sh